Long[].Sort (gb)

Function Sort ( [ Mode As Integer ] ) As Long[]

Sort the array and return it.

Mode can have the following value:

gb.Ascent Ascent sort. This is the default value.
gb.Descent Descent sort.